<div data-page="<{$pageName}>" class="page">
    <div class="page-content" style="background:#fff;">
        <style>
        .block_div {
            padding: 10px;
            background-color: #fff;
            margin-top: 10px;
            border-bottom: 1px dotted #EAEAEA
        }
        
        .light {
            color: #A0A0A0
        }
        
        .cart_item .row {
            border-bottom: 1px dotted #EAEAEA
        }
        
        .wt_50 {
            width: 45%;
            float: left;
            margin-left: 2%;
            margin-right: 2%
        }
        
        .bottom {
            color: #878787;
            padding: 10px;
            margin-top: 50px;
            text-align: center;
            font-size: 12px
        }
        
        .goods_info {
            background-color: #e5fbd3;
            border-bottom: 3px solid #b4db94;
            height: 100px;
            line-height: 1.2em;
            padding: 30px 10px;
            color: #5f6f51;
        }
        
        .goods_name {
            font-size: 16px;
            line-height: 25px;
            font-weight: bold;
        }
        
        .price {
            text-align: center;
            line-height: 42px;
            height: 36px;
            font-size: 30px;
            color: #f60;
            margin: 10px;
        }
        
        .help {
            margin: 20px;
        }
        </style>
        <div class="goods_info text"> <span class="goods_name"><{$orderInfo.title}></span>
            <div class="clearfix"></div>
        </div>
        <div class="box-btn">
            <php> $payList=Logic("BoxMall","Index")->getPayType(); $class_list=array( '1'=>'btn-success', '2'=>'btn-info', '3'=>'btn-warning', ); </php>
            <div class="sortlist clearfix mgt20">
                <ul class="nav clearfix">
                    <li class="active"><a data-toggle="tab">选择支付方式</a> </li>
                </ul>
            </div>
            <volist name="payList" id="vo">
                <ul class="block_div">
                    <li>
                        <label>
                            <input type="radio" onclick="$('#pay_now').attr('href',$(this).attr('url'))" url="/BoxPay/Order/index/order_sn/<{$orderInfo.order_sn}>.html?payment_id=<{$vo.payment_id}>" name="pay_type" />
                            <img style=" height:50px" src="__Img__/<{$vo.img}>" /> </label>
                    </li>
                </ul>
            </volist>
            <div class="clearfix"></div>
            <div class="box-btn block_div">
                <div class="form-group">
                    <div class="row">
                        <div class="col-md-12" style=" text-align:center"> <strong id="resultPriceStep2" class="price"><{$orderInfo.order_amount}></strong>元 <a data-type="none" style="width:100%; padding:10px" id="pay_now" href="" <if condition="$is_mobile eq 0">target="_blank"</if>  class="btn btn-primary border-radius-none mgt10"> 马上去支付 </a> </div>
                    </div>
                </div>
                <div class="clearfix"></div>
            </div>
            <div class="help">
                <div class="muted">
                    <p class="bold">付款遇到问题：</p>
                    <p>1.如您的订单金额较大或未开通网上银行，建议选择“快捷支付”或“支付宝支付”，无需开通网银有卡就能付，并支持大额支付。</p>
                    <p>2.建议您切换到IE浏览器支付，如提示“需安装控件”，请按提示进行安装操作。</p>
                    <p>3.在使用支付宝端口支付的时候，建议绑定记忆支付功能，我们在默认情况下已经启用了支付宝的记忆支付功能！此功能不会影响用户账号的安全性，且支付起来更加快捷方便。</p>
                </div>
            </div>
        </div>
    </div>
    <div id="pay_text" style="display:none">
        <div style="margin:20px;">
            <p class="big bold f24">请您在新打开的页面上完成付款。</p>
            <p>付款完成前请不要关闭此窗口,完成付款后请根据您的情况点击下面的按钮。</p>
            <div class="mgt40 text-center"> <a onclick="$('#pay_text_wait').modal('hide');$('#ToPayNow').modal('show')" class="btn btn-primary">重新选择支付方式</a> <a onclick="window.location.href='<php>echo HomeUrl;</php>/Index/my_subject';" class="btn btn-info mgl10">已完成付款</a> </div>
        </div>
    </div>
    <script>
    $("#pay_now").click(function() {
        var _this = $("[name='pay_type']:checked");
        if ($(_this).length == 0) {
            dialog("请选择支付方式");
            return false;
        } else {
            $("#ToPayNow").modal('hide');
            var content = $("#pay_text").html();
            hiApp.modal(content, "pay_text_wait");
        }
    })
    </script>
</div>
